package com.jumper.study.admin.dto.req;

import java.util.List;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;

public class AdminReq {
    @NotNull(message="未提供账号id", groups={AdminCreateGroup.class})
    @Min(value=1, message="请提供正确的账号", groups={AdminCreateGroup.class})
    private Long accountId;

    private Integer roleId;

    private List<Integer> menus;

    public Long getAccountId() {
        return accountId;
    }

    public void setAccountId(Long accountId) {
        this.accountId = accountId;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public List<Integer> getMenus() {
        return menus;
    }

    public void setMenus(List<Integer> menus) {
        this.menus = menus;
    }
}
